package com.song.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author songChaoHua
 * @Description 测试
 * @date 2022/1/28 18:11
 */
@RestController
public class IndexController {
    /**
     * 首页
     *
     * @author 981247127@qq.com
     * @time 2021-04-26 19:08
     * @return
     */
    @RequestMapping("")
    public ModelAndView index() { return new ModelAndView("index"); }

    @RequestMapping("/test")
    public String getStr(){
        return "test Jenkins...";
    }
}
